<?php

namespace app\validate;
use think\validate;

class UsersRoles extends validate {

	protected $rule = [
		'title'=>['require'],
	];

	protected $message = [
		'title.require'=>'角色名称不能为空',
	];

	protected $scene  = [
		'add'=>['title'],
		'update'=>['title'],
	];



}

